package com.million.staservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author: studyboy
 * @Date: 2022/4/11  21:37
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@ComponentScan(basePackages = {"com.million"})
@MapperScan("com.million.staservice.mapper")
@EnableScheduling //开启定时任务
public class StatisticsApplication {

    public static void main (String[] args) {
        SpringApplication.run(StatisticsApplication.class,args);
    }
}
